import { getAction, deleteDataAction, putAction, postAction, downFilePost } from '@/api/manage'
const serviceName = 'incident-server'
const intelligenceList = params => postAction(`/sevenZeroOne-server/intelligenceData/list`, params)
//获取归属地
const getFollowPlace = params => getAction('/sevenZeroOne-server/intelligenceData/getFollowPlace')
//情报信息
const getInformation = params => getAction(`/sevenZeroOne-server/intelligenceData/getInformation`,params)
//团伙信息
const getTravelTogether = params => getAction(`/sevenZeroOne-server/intelligenceData/getTravelTogether`,params)
//同行信息
const getTeam = params => getAction(`/sevenZeroOne-server/intelligenceData/getTeam`,params)
//基本信息
const getPerson = params => getAction(`/sevenZeroOne-server/intelligenceData/getPerson`,params)
//关注人员信息导出excel
const followExcelXls = params => postAction(`/sevenZeroOne-server/intelligenceData/followExcelXls`,params)

const intelligenceDetail = params => getAction(`${serviceName}/clear-intelligence/details`, params)
// const crypoIntellList = params => postAction(`/zxd-module-crypto-intelligence/crypto-intelligence/list`, params)
const crypoIntellList = params => postAction(`/sevenZeroOne-server/intelligenceData/pageNew`, params)
// const crypoIntellDetail = params => postAction(`/zxd-module-crypto-intelligence/crypto-intelligence/detail`, params)
const crypoIntellDetail = params => postAction(`/sevenZeroOne-server//intelligenceData/details`, params)
const getRealTimeLocation = params => getAction(`trajectory-server/trajectory/getRealTimeLocation`, params)
/**------------告警动态----------------**/

export { intelligenceList, crypoIntellList, crypoIntellDetail, intelligenceDetail, getRealTimeLocation,
  getFollowPlace,
  getInformation,
  getTravelTogether,
  getTeam,
  getPerson,
  followExcelXls
}
